﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace HHCommon
{ 
    public class Base:System.Web.UI.Page
    {
        Help help = new Help();
        public Base()
        {
            if (string.IsNullOrEmpty(help.GetCookie("UserNumber")) || string.IsNullOrEmpty(help.GetCookie("UserCode")))
            {
                MessageBox.ShowAndRedirect(this.Page,"请先登录！", "/SystemManage/Login.aspx");
                return;
            }
        }
    }
}
